From 56dd1e9b352ed97dfa5c7a3cfa7bfa12e5d67d44 Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Sun, 2 May 2010 14:07:57 +0200 Subject: [PATCH] Rename htmldoc directory and change the references to it. --- debian/patches/htmldoc-location | 26 ++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 4 ++++ 3 files changed, 31 insertions(+) create mode 100644 debian/patches/htmldoc-location diff --git a/debian/patches/htmldoc-location b/debian/patches/htmldoc-location new file mode 100644 index 000000000..bf2d596c9 --- /dev/null +++ b/debian/patches/htmldoc-location @@ -0,0 +1,26 @@ +--- a/gbversion.h.in ++++ b/gbversion.h.in +@@ -5,4 +5,4 @@ + * Isn't simplification via automation grand? + */ + #define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@" +-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@" ++#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/htmldoc/index.html" +--- a/gui/help/gpsbabel.html ++++ b/gui/help/gpsbabel.html +@@ -1,3 +1,3 @@ +

This is the local help. It currently isn't very helpful.

+-

The online help ++

The online help + is mo betta.

+--- a/xmldoc/gpsbabel_man.xml ++++ b/xmldoc/gpsbabel_man.xml +@@ -79,7 +79,7 @@ or as the backend for other tools. Display help that is more exhaustive than this page. If format is given, provide help for only that format. + + +-Lists of filters and formats are given in the doc at http://www.gpsbabel.org. ++Lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/htmldoc/. + + + See Also diff --git a/debian/patches/series b/debian/patches/series index 4980e6f05..2f264db69 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ +htmldoc-location gpsbabelfe-name diff --git a/debian/rules b/debian/rules index b9e496915..84ad02fea 100755 --- a/debian/rules +++ b/debian/rules @@ -84,6 +84,10 @@ install: build-stamp build-gui-stamp # Add here commands to install the package into debian/gpsbabel. $(MAKE) install DESTDIR=$(CURDIR)/debian/gpsbabel + + # Rename htmldoc dir + mv `ls -d $(CURDIR)/debian/doctmp/htmldoc-*` $(CURDIR)/debian/doctmp/htmldoc + dh_install -- 2.30.2